﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Super64.Core.CPU.MIPS
{
    public class OpcodeMeta : Attribute
    {
        byte m_OpNum;
        string m_Debug;
        InstructionType m_Type;

        public OpcodeMeta(byte opNumber, InstructionType type)
        {
            m_OpNum = opNumber;
            m_Type = type;
            m_Debug = "";
        }

        public OpcodeMeta(byte opNumber, InstructionType type, string debugPattern)
        {
            m_OpNum = opNumber;
            m_Type = type;
            m_Debug = debugPattern;
        }

        public byte OpNumber
        {
            get { return m_OpNum; }
        }

        public string DebugPattern
        {
            get { return m_Debug; }
        }

        public InstructionType Type
        {
            get { return m_Type; }
        }
    }
}
